package com.medium.house.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author : wang.yu
 * @Description :
 * @Date: Created in 2018/1/31 0031  10:40
 * @Modified By
 */
@ApiModel(value="HouseSellPoint房屋特色",description="房屋特色")
@Data
public class HouseSellPointRequestDto implements Serializable {

    @ApiModelProperty(value="房屋特色名称",name="name",example="独卫")
    @NotBlank(message = "请录入房屋特色名称")
    private String name;

    @ApiModelProperty(value="房屋特色代码",name="code",example="001")
    @NotBlank(message = "请录入房屋特色代码")
    private String code;
}
